//
//  GDFutureWeatherModel.m
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/4.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//

#import "GDFutureWeatherModel.h"


@implementation GDFutureWeatherModel

+(instancetype)futureWeatherWithDictionary:(NSDictionary *)dic{
    
    return [[self alloc ] initWithWeatherDictionary:dic];
}


-(instancetype)initWithWeatherDictionary:(NSDictionary *)dic{
    if (self = [super init]) {
        _temperature = dic[@"temperature"];// 温度
        _wind = dic[@"wind"];// 风
        _date = dic[@"week"]; // 日期
        _weather_future = dic[@"weather"]; // 天气状况
        _weatherID_future = [GDWeatherID weatherWithDic:dic[@"weather_id"]];
    }
    return self;
}


@end
